<link href="../../../public/stylesheets/main.css" rel="stylesheet" type="text/css" /> 
 
#{extends 'main.html' /} 
#{set title:'Portal Administrador - Alterar Aula' /} 
 
<div id="container"> 
 
        <!-- Page header --> 
        <div id="header"> 
                <h1>SIGCFC </h1> 
        </div> 
 
        <div id="content_wrap"> 
                <!-- Navigation --> 
                <div id="nav"> 
                  <ul>                   
                        <li> 
                                #{a @Application.portalAdministrador()}Portal Administrador#{/a} 
                        </li> 
                        </BR> 
                        <center>Aula</center>
						<li>
							#{a @AulaMBean.inserirAula()}Cadastrar Aula#{/a}
						</li>
						<li>
							#{a @AulaMBean.actionListarAula()}Listar Aula#{/a}
						</li>
						<li>
							#{a @AulaMBean.buscarAula()}Buscar Aula #{/a}
						</li>                   
                                                 
                  </ul> 
                </div> 
 
                <div id="main"> 
        <center><h2>Editar Aula ${aula.codDisc}</h2> 
 
#{if aula!=null} 
                  #{form @AulaMBean.actionEditarAula()}            
                                #{ifErrors} 
                                    <p style="color:red;"><strong>ATENÇÃO: </strong>Preencha todos os campos obrigat�rios.</p> 
                                #{/ifErrors} 
                                <hr/>                                    
                                <table width="240" border="1" align="center"> 
                      <tr> 
                        <th scope="row"><div align="right" class="style5">Disciplina :</div></th> 
                        <td><div align="left" class="style5">                        
                         <input name="idAula" id="idAula" value="${aula.idAula}" type="HIDDEN"/>                          
                         <input type="text" name="codDisc" id="codDisc" value="${aula.codDisc}" maxlength="14"/>                            
                        </div></td> 
                      </tr> 
                      <tr> 
                        <th scope="row"><div align="right" class="style5">Data : </div></th> 
                        <td><div align="left" class="style5">                           
                          <input type="text" name="data" id="data" value="${aula.data}" maxlength="15"/> 
                        </div></td> 
                      </tr> 
                      <tr> 
                        <th scope="row"><div align="right" class="style5">Hora Fim : </div></th> 
                        <td><div align="left" class="style5">                          
                         <input type="text" name="horaInicio" id="horaInicio" value="${aula.horaInicio}" maxlength="10"/> 
                         
                        </div></td> 
                      </tr> 
                      <tr> 
                        <th scope="row"><div align="right" class="style5">Hora Início : </div></th> 
                        <td><div align="left" class="style5">                          
                         <input type="text" name="horaFim" id="horaFim" value="${aula.horaFim}" maxlength="10"/>                         
                        </div></td> 
                      </tr>
                    </table> 
                    <table width="240" border="0" align="center"> 
                      <tr></br> 
                        <th scope="row"><input type="submit" value="Alterar"/></th> 
                        <td>#{a @AulaMBean.aula()}<input type="button" value="Cancelar" onclick="return confirmaCancelar();"/>#{/a}</td> 
                      </tr> 
                    </table>                    
                     
<br/> 
<hr/> 
                        </center> 
                        <center>* : Campos obrigatórios.</center>  
                #{/form} 
                 
#{/if} 
                <div class="brclear"></div> 
                </div> 
        </div> 
  <div id="footer">Sistema de Gestão para Centro de Formação de Condutores<br>TecByte</div> 
 
</div> 
 
<style type="text/css"> 
body,td,th { 
        color: #FFFFFF; 
} 